package com.zkthink.ceres.member.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
import lombok.experimental.Accessors;

//用户信息
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "MemberTotal", description = "用户信息")
public class MemberTotal {

    /**
     * 会员ID
     */
    @ApiModelProperty(value = "用户ID")
    private Long mid;

    /**
     * 推荐人ID
     */
    @ApiModelProperty(value = "推荐人ID")
    private Long recommendMid;

    /**
     * 推荐人ID
     */
    @ApiModelProperty(value = "推荐人和被推荐人的关系-1：直推 2：间接推")
    private Integer recommendType;

    /**
     * 1:普通新用户 2:普通老用户 3:服务之星 4:服务网点 5:预销户 6：销户
     */
    @ApiModelProperty(value = "用户的状态1:普通新用户 2:普通老用户 3:服务之星 4:服务网点 5:预销户 6：销户")
    private Integer type;


    /**
     * 30天内的折扣
     */
    @ApiModelProperty(value = "30天内的折扣")
    private Long discount = 0l;

    /**
     * 贡献值
     */
    @ApiModelProperty(value = "贡献值")
    private Long contribution = 0l;
    /**
     * 是否实名认证
     */
    @ApiModelProperty(value = "是否实名认证")
    private Boolean ifIden = false;

    @ApiModelProperty(value = "三十天内是否折扣")
    private Boolean ifDiscount = false;


}
